package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallGoodsAccessoryGroup;
import org.linlinjava.litemall.db.domain.LitemallGoodsAccessoryGroupExample;

public interface LitemallGoodsAccessoryGroupMapper {
    long countByExample(LitemallGoodsAccessoryGroupExample example);

    int deleteByExample(LitemallGoodsAccessoryGroupExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LitemallGoodsAccessoryGroup record);

    int insertSelective(LitemallGoodsAccessoryGroup record);

    LitemallGoodsAccessoryGroup selectOneByExample(LitemallGoodsAccessoryGroupExample example);

    LitemallGoodsAccessoryGroup selectOneByExampleSelective(@Param("example") LitemallGoodsAccessoryGroupExample example, @Param("selective") LitemallGoodsAccessoryGroup.Column ... selective);

    List<LitemallGoodsAccessoryGroup> selectByExampleSelective(@Param("example") LitemallGoodsAccessoryGroupExample example, @Param("selective") LitemallGoodsAccessoryGroup.Column ... selective);

    List<LitemallGoodsAccessoryGroup> selectByExample(LitemallGoodsAccessoryGroupExample example);

    LitemallGoodsAccessoryGroup selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallGoodsAccessoryGroup.Column ... selective);

    LitemallGoodsAccessoryGroup selectByPrimaryKey(Integer id);

    LitemallGoodsAccessoryGroup selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LitemallGoodsAccessoryGroup record, @Param("example") LitemallGoodsAccessoryGroupExample example);

    int updateByExample(@Param("record") LitemallGoodsAccessoryGroup record, @Param("example") LitemallGoodsAccessoryGroupExample example);

    int updateByPrimaryKeySelective(LitemallGoodsAccessoryGroup record);

    int updateByPrimaryKey(LitemallGoodsAccessoryGroup record);

    int logicalDeleteByExample(@Param("example") LitemallGoodsAccessoryGroupExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}